CommonsBooking\Plugin A

Total Complexity 56
Dependencies 23
Dependents 9
Total lines 488
Lines of code 272
Logical lines of code 112
Comment lines 129
Methods 25
Properties 1

Methods 25

Method Rating Maintainability Complexity Lines of code
addCustomUserRoles()
S
50 5 30
getTheContent()
S
62 6 11
setParentFile()
S
62 4 11
renderError()
S
58 3 17
addMenuPages()
S
50 2 31
updateLocationCoordinates()
S
66 4 8
initRoutes()
S
58 2 17
registerLocationTaxonomy()
S
58 2 16
registerItemTaxonomy()
S
58 2 16
savePostActions()
S
66 3 9
runTasksAfterUpdate()
S
63 3 10
init()
S
55 1 18
registerAdminOptions()
S
68 2 6
saveOptionsActions()
S
69 2 7
maybeEnableCB1UserFields()
S
70 2 6
registerPostStates()
S
72 2 5
registerCustomPostTypes()
S
70 2 6
getCacheId()
S
63 2 10
setCacheItem()
S
78 1 3
getCacheItem()
S
79 1 3
commonsbooking_load_textdomain()
S
78 1 3
getCustomPostTypesLabels()
S
68 1 8
getCustomPostTypes()
S
68 1 8
initBookingcodes()
S
73 1 4
clearCache()
S
66 1 9